package asia.redact.bracket.exampleclasses;

import org.apache.commons.lang.builder.ToStringBuilder;

public class ExampleBase {
	
	String base = "";

	public ExampleBase() {
		super();
	}
	
	public String toString(){
		return ToStringBuilder.reflectionToString(this);
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((base == null) ? 0 : base.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ExampleBase other = (ExampleBase) obj;
		if (base == null) {
			if (other.base != null)
				return false;
		} else if (!base.equals(other.base))
			return false;
		return true;
	}

}
